package com.openlogic.datasource.api.vo;

import java.io.Serializable;
import java.util.List;

/**
* @ClassName: DataTreeVo
* @Description: 元数据层级树实体 VO
* @author weiyongpeng
* @date 2024年11月9日 上午10:20:56
*/
public class DataTreeVo implements Serializable {

	private static final long serialVersionUID = 1L;

	private String id;
	/**
	 * 数据源分类 1()、2、3
	 */
	private String category;
	
	/**
	 * 二级细分 - 小类 
	 */
	private String dbType;
	/**
	 * 数据层级 database、table、column
	 */
	private String type;
	private String label;
	private String name;
	private String code;
	private List<DataTreeVo> children;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
	
	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	public String getDbType() {
		return dbType;
	}

	public void setDbType(String dbType) {
		this.dbType = dbType;
	}

	public List<DataTreeVo> getChildren() {
		return children;
	}

	public void setChildren(List<DataTreeVo> children) {
		this.children = children;
	}

}